import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import searchMusic from './component/music/searchInput.vue'
import echarts from 'echarts';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import * as  musicUtil from "@/util/musicUtil.js";

Vue.prototype.$echarts = echarts;
Vue.prototype.musicUtil = musicUtil;

Vue.use(iView);
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

//全局组件注册
Vue.component('searchMusic_Input', searchMusic)   
